add input fields dynamically javascript